import request from '@/request'

const API = {
  ['ABOUT_US']: '/api/pub/about_us',
  ['QUESTION_LIST']: '/api/personal/naturalQuestionList',
  ['SECOND_QUESTION_LIST']: '/api/personal/questionList'
}

export const fetchAboutUs = () => request({ url: API.ABOUT_US })

export const fetchQuestionList = () => request({ url: API.QUESTION_LIST })

export const fetchSecondQuestionList = cate_id =>
  request({ url: API.SECOND_QUESTION_LIST, data: { cate_id } })
